package com.zou.application.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.zou.application.entity.UserEntity;

public interface UserEntityMapper {
    int delete(Integer id);

    int insert(UserEntity record);

    UserEntity selectById(Integer id);

    int update(UserEntity record);
    
    UserEntity getByUserName(@Param(value = "username") String username);
    
    List<UserEntity> listByMap(Map<String, Object> param);
}